export function delFeature({
    service,
    fids,
    docLayer
}) {
    /*
    1、地图文档的名称 --从那个地图上删除
    2、删除要素所在的图层  -- 从那个图层删除
    3、删除要素的fid值   
     */
    var deleteService = new Zondy.Service.EditDocFeature(service.name, service.layerId, {

    });
    deleteService.deletes(fids, onPntSuccess(docLayer));
}
function onPntSuccess(docLayer) {
    return function (data) {
        if (data.succeed) {
            alert("删除成功！");
            docLayer.refresh();
        } else {
            alert("删除失败！");
        }
    }
}